package com.ht.service.aduit.impl;

import com.ht.bean.aduit.Aduitlog;
import com.ht.util.Pager;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.bean.aduit.Checkq;
import com.ht.dao.aduit.CheckqMapper;
import com.ht.service.aduit.CheckqService;

import java.util.List;
import java.util.Map;

/**
 * @author 王金宝
 * @date 2020/6/24 8:38
 * 
 */
@Service
public class CheckqServiceImpl implements CheckqService {

    @Resource
    private CheckqMapper checkqMapper;

    @Override
    public int getTotalRow(Checkq checkq) {
        return checkqMapper.getTotalRow(checkq);
    }

    @Override
    public List<Map> allPageCheckq(Pager pager,Checkq checkq) {
        return checkqMapper.allPageCheckq(pager,checkq);
    }

    @Override
    public int getTotalRowByEmpid(Integer empid) {
        return checkqMapper.getTotalRowByEmpid(empid);
    }

    @Override
    public List<Map> allPageCheckqByEmpid(Integer empid, Pager pager) {
        return checkqMapper.allPageCheckqByEmpid(empid,pager);
    }

    @Override
    public int getAduitCheckRow(Integer empid, Integer status, Integer depid) {
        return checkqMapper.getAduitCheckRow(empid, status, depid);
    }

    @Override
    public List<Map> getAduitCheck(Pager pager, Integer empid, Integer status, Integer depid) {
        return checkqMapper.getAduitCheck(pager,empid,status,depid);
    }

    @Override
    public int getAduitCheckRow2(Integer status, Integer depid) {
        return checkqMapper.getAduitCheckRow2(status, depid);
    }

    @Override
    public List<Map> getAduitCheck2(Pager pager, Integer status, Integer depid) {
        return checkqMapper.getAduitCheck2(pager, status, depid);
    }

    @Override
    public int deleteByPrimaryKey(Integer checkingid) {
        return checkqMapper.deleteByPrimaryKey(checkingid);
    }

    @Override
    public int insert(Checkq record) {
        return checkqMapper.insert(record);
    }

    @Override
    public int insertSelective(Checkq record) {
        return checkqMapper.insertSelective(record);
    }

    @Override
    public Checkq selectByPrimaryKey(Integer checkingid) {
        return checkqMapper.selectByPrimaryKey(checkingid);
    }

    @Override
    public int updateByPrimaryKeySelective(Checkq record) {
        return checkqMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Checkq record) {
        return checkqMapper.updateByPrimaryKey(record);
    }

}
